Expose Root Properties R←2401⌶Y

This function is used to expose or hide Root Properties, Event and Methods.

If Y is 1, Root Properties, Events and Methods are exposed.

If Y is 0, no further Root Properties, Events or Methods are exposed; however any that have already been exposed will remain so.

This functionality is available in Windows versions by selecting or unselecting the Expose Root Properties MenuItem in the Options Menu in the Session. Note that deselecting this MenuItem only affects future references to Root Properties, Events or Methods.

This function is the only mechanism available under non-Windows versions of Dyalog APL; the state of this setting is saved in the workspace, and therefore cannot be controlled by an environment variable.

Example

      #.GetEnvironment'MAXWS'
VALUE ERROR
      #.GetEnvironment'MAXWS'
     ∧
      
      2401⌶1
0
      #.GetEnvironment'MAXWS'
64M
      
      2401⌶0
1
      #.GetEnvironment'MAXWS'
64M
      #.GetCommandLine
VALUE ERROR
      #.GetCommandLine
     ∧